package cn.jiadakeji.parent.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @author heyanfeng
 * @create 2022-03-15 14:26
 */
@Data
@ApiModel("学生请假VO")
public class TermCourseLevelVo {

    @NotEmpty
    @ApiModelProperty("学生ID")
    private String studentId;

    @ApiModelProperty("请假开始时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date leaveBeginDate;

    @ApiModelProperty("请假结束时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date leaveEndDate;

    @ApiModelProperty("请假原因 0-病假 1-事假 2-其他")
    private String reason;

    @ApiModelProperty("备注")
    private String remarks;
}
